package br.com.async.domain.reserve;

import java.util.Calendar;
import java.util.List;

import br.com.async.infrastructure.AbstractRepository;

public interface ReserveRepository extends AbstractRepository<Reserve, Integer>{

	public List<Reserve> findReserveByCriterions(Integer roomCode, Calendar date, Shift shift);
	public Reserve findUniqueReserveByCriterions(Integer roomCode, Calendar date, Shift shift);
	public List<Reserve> findReserveByCriterions(String roomName, Calendar date, Shift shift);
	public List<Reserve> findReserveForRomAndDate(String room, Calendar date);
	public List<Time> findTimeFreeFromReserve(Reserve reserve);
	public List<Reserve> findReserveByResponsible(Integer respCode);
	public List<Reserve> findReserveByCriterions(
			Calendar date);
	public List<Reserve> findReserveByCriterions(Integer respCode, Calendar date);
}
